fix: point install, upgrade, and docs URLs at openscience.sh#62
Merged
Conversation
The syntheticsciences.ai/{install,docs,config.json} family returns 404,
and the CLI's self-upgrade default pointed at the app subdomain, which
serves the dashboard SPA — so 'openscience upgrade' piped HTML into
bash and failed for every curl-installed user. openscience.sh serves
the install script byte-for-byte and hosts the docs.
Covers the install script (both copies), the npm bin wrapper's help
text, the self-upgrade default, README, the landing DOCS link, and the
docs-site lander one-liner.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #43. Fixes #36.
The
syntheticsciences.ai/{install,docs,config.json}URL family returns 404, and the CLI self-upgrade default pointed at the app subdomain, which serves the dashboard SPA.openscience upgradetherefore piped HTML into bash:https://openscience.sh/installserves the repo install script byte-for-byte (verified with diff), so everything now points there:backend/cli/src/installation/index.ts: self-upgrade default URL (the openscience upgrade pipes an HTML page into bash; broken for every curl-installed user #43 bug)install+frontend/landing/public/install: usage examples and the post-install docs pointer (kept identical, verified with diff)backend/cli/bin/openscience: the npm wrapper's "binary not found" help textREADME.md: docs badge, docs nav link, config schema linkfrontend/landing/src/pages/Landing.tsx: DOCS linkfrontend/docs/src/components/Lander.astro: the copy-pasteable install one-liner on the docs siteNot touched here: the
$schema: https://syntheticsciences.ai/config.jsonreferences spread across docs examples, tests, and the config-writing code paths, plus the share-link and Referer hosts. Those are tracked in #36 — worth deciding between a bulk rewrite and standing up redirects on syntheticsciences.ai (redirects would also fix URLs baked into already-shipped binaries and SDKs).Verified:
bash -non both install scripts, backend typecheck, landingvite build.